﻿using Abp.Dependency;
using GN.Pay.Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Tasks
{
    /// <summary>
    /// 任务队列工作池
    /// </summary>
    public interface ITaskQueueWorkPool : ISingletonDependency
    {
        /// <summary>
        /// 获取是否取动
        /// </summary>
        bool IsStart { get; }

        /// <summary>
        /// 启动
        /// </summary>
        bool Start();

        /// <summary>
        /// 停止
        /// </summary>
        bool Stop();
    }
}
